

var dbserver = require('../dao/dbserver')

// 用户详情
exports.userDetail = (req,res)=>{
    let {uid} = req.body;
    dbserver.userDetail(uid,res);
}

// 用户信息修改
exports.userUpdate = (req,res)=>{
    let data = req.body;
    dbserver.userUpdate(data,res);
}

// 获取好友昵称
exports.getMarkName = (req,res)=>{
    let data = req.body;
    dbserver.getMarkName(data,res);
}

// 修改好友昵称
exports.friendMarkName = (req,res)=>{
    let data = req.body;
    dbserver.friendMarkName(data,res);
}
